<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
    <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.4.0/weui.min.css"/>
    <style>
        *{
            margin:0;
            padding: 0;
        }
        html,body{
            width: 100%;height: 100%;
        }
        body{
            background: url("/img/tqbg.jpg") center center no-repeat fixed;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }
        .menu{
            margin: 0 3%;
            position: fixed;
            top: 42%;
            width: 100%;
        }
        .menu > img{
            width: 25%;
            margin-left: 4%;
        }
    </style>
</head>
<body>
<div class="menu">
    <img class="to-recommend" src="/img/menu1.jpg" alt="">
    <img class="contract-customer" src="/img/menu2.jpg" alt="">
    <img class="to-user" src="/img/menu3.jpg" alt="">
</div>
<div class="js_dialog" id="iosDialog2" style="display: none;">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__bd" style="margin: 0 auto">

            <img src="./img/bar_code.jpg"  style="width: 150px;margin-left: 20px" alt="">
            <p style="text-align: center;margin:  10px;color: #f02d2d;font-weight: bold;font-size: 13px">长按识别，联系客服完成入职</p>
        </div>
        <div class="weui-dialog__ft">
            <a href="javascript:" class="weui-dialog__btn weui-dialog__btn_primary">知道了</a>
        </div>
    </div>
</div>
<script src="./js/zepto.min.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.2.1/weui.min.js"></script>
<script>
    $(function () {
        $(".to-recommend").on('click', function () {
            window.location.href = "/tuiguang"
        })
        $(".to-user").on('click', function () {
            window.location.href = "/user"
        })

        $(".contract-customer").on('click', function () {
            $('#iosDialog2').fadeIn(200);
        })
        $(".weui-dialog__btn_primary").on('click', function () {
            $('#iosDialog2').hide();
        })

    })
</script>
</body>
</html>
